package dz.webcom.formation;

import com.activeandroid.ActiveAndroid;
import com.activeandroid.Configuration.Builder;

import dz.webcom.formation.db.Person;
import dz.webcom.formation.db.Vehicule;
import android.app.Application;

public class FormationApplication extends Application {
	
	@Override
	public void onCreate() {
		super.onCreate();

		Builder b = new Builder(this);

		b.addModelClass(Person.class);
		b.addModelClass(Vehicule.class);
		
		ActiveAndroid.initialize(b.create());
		
	}

}
